Skip to content

prometheus: Add support for external Prometheus URLs#508

Draft
skoeva wants to merge 1 commit intomainfrom
prometheus-external-url
Draft

prometheus: Add support for external Prometheus URLs#508
skoeva wants to merge 1 commit intomainfrom
prometheus-external-url

Conversation

@skoeva
Copy link
Contributor

@skoeva skoeva commented Feb 3, 2026

These changes allow configuring Prometheus using a full HTTP/HTTPS URL in addition to namespace/service:port. This enables connecting clusters to external or shared Prometheus instances, and keeps existing k8s service-based configuration working.

Fixes: #377, follow-up from #494

@skoeva skoeva self-assigned this Feb 3, 2026
@skoeva skoeva added the prometheus prometheus plugin related issues label Feb 3, 2026
@skoeva skoeva force-pushed the prometheus-external-url branch from 06fbd0d to 180c437 Compare February 3, 2026 16:12
@skoeva skoeva requested a review from Copilot February 3, 2026 16:13

This comment was marked as outdated.

@skoeva skoeva force-pushed the prometheus-external-url branch 2 times, most recently from 0fbac61 to 8835ec2 Compare February 3, 2026 16:50
@skoeva skoeva marked this pull request as ready for review February 3, 2026 16:50
@skoeva skoeva requested a review from Copilot February 3, 2026 16:51
@skoeva skoeva force-pushed the prometheus-external-url branch 2 times, most recently from a6a8d1f to 77dd54b Compare February 3, 2026 16:54

This comment was marked as outdated.

@sniok
Copy link
Contributor

sniok commented Feb 3, 2026

code looks okay. I'm okay with merging it once someone manually tests this

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@skoeva skoeva force-pushed the prometheus-external-url branch 2 times, most recently from bd16b4a to 757f40b Compare February 3, 2026 21:29
@illume illume requested a review from Copilot February 4, 2026 01:00
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@skoeva skoeva force-pushed the prometheus-external-url branch 3 times, most recently from 22a8e56 to 406fd8d Compare February 4, 2026 03:11
Copy link
Member

@ashu8912 ashu8912 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!!!

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ashu8912
Copy link
Member

ashu8912 commented Feb 4, 2026

Hii @skoeva and @Tusharjamdade can you look at some of these comments from copilot review and address them. Thank you.

@ashu8912 ashu8912 self-requested a review February 4, 2026 13:45
@ashu8912
Copy link
Member

ashu8912 commented Feb 4, 2026

I tried this PR and got CORS issue on development when using external prometheus URL

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 5 out of 5 changed files in this pull request and generated 3 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Tusharjamdade <tusharnjamdade@gmail.com>
Signed-off-by: Evangelos Skopelitis <eskopelitis@microsoft.com>
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 24 out of 24 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

prometheus prometheus plugin related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Prometheus: also allow URL to be provided for Prometheus Service Address

4 participants